//
//  contactCell.m
//  ContactsCoreData
//
//  Created by dllo on 15/11/20.
//  Copyright © 2015年 张树林. All rights reserved.
//

#import "SLContactCell.h"
#import "SLPerson.h"

@interface SLContactCell ()

@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *sexLabel;
@property (weak, nonatomic) IBOutlet UILabel *phoneLabel;
@property (weak, nonatomic) IBOutlet UILabel *number;


@end

@implementation SLContactCell


- (void)setModel:(SLPerson *)model
{
    _model = model;
    
    self.nameLabel.text = self.model.name;
    self.sexLabel.text = self.model.sex;
    self.phoneLabel.text = self.model.phoneNumber;
    self.number.text = self.model.number;
}


@end
